package com.homedo.odin.solution.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.homedo.odin.solution.model.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * @author: zhaoxudong
 * @date: 2018/3/7 15:46
 * @Description:
 */
@Data
@ApiModel(description = "配置清单详情")
@JsonIgnoreProperties(ignoreUnknown = true)
public class SolProductListDetail extends BaseBean {

    @ApiModelProperty("清单编号")
    private Integer listId;
    @ApiModelProperty("清单是否上架 0：否 1：是")
    private Integer listStatus;
    @ApiModelProperty("清单下载数量")
    private Integer downloadCount;
    @ApiModelProperty("清单操作人")
    private String listCreatedBy;
    @ApiModelProperty("操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;
    @ApiModelProperty("方案编号")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long solutionId;
    @ApiModelProperty("方案名称")
    private String solutionName;
    @ApiModelProperty("方案状态 0:已保存 10:待专家审核  " +
            "11：后台审核 20:审核通过 21:审核驳回 30:上架中 31:下架中")
    private Integer solutionStatus;
    @ApiModelProperty("方案分类  系统方案(1:专家方案  3:用户上传方案) 2:品牌方案")
    private Integer solutionType;
    @ApiModelProperty("方案归属用户")
    private String solutionOwner;
}
